package com.authority.basic.general_basic.entiy;

import org.springframework.context.ApplicationEvent;

public class MyCustomEvent extends ApplicationEvent {

    private  String msg;

    public MyCustomEvent(Object source) {
        super(source);
    }

    public MyCustomEvent(Object source,String msg){
        super(source);
        this.msg = msg;
    }


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
